package com.xuhai.book.service;


import com.xuhai.book.bean.Userinfo;
import com.xuhai.book.util.ResultJson;


public interface UserinfoService {
    ResultJson login(String username,String password,String uuid,String code);
    ResultJson getPage(int page, int limit, Userinfo userinfo);
    ResultJson getById(Integer userId);
    void update(Userinfo userinfo);
    void delete(Integer userId);
    void logout(Integer userId);
    void updatePassword(Integer userId,String password,String oldPassword);
}
